#include <QApplication>
#include "mainwindow.h"
#include <qtranslator.h>
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    QTranslator *translator = new QTranslator();
    QString qmPath = ":/translations/translations/qt_zh_CN.qm";
    auto ok = translator->load(qmPath);
    if (ok)
        a.installTranslator(translator);
    QCoreApplication::setOrganizationName("360");
    QCoreApplication::setOrganizationDomain("360.com");
    QCoreApplication::setApplicationName("360 Runner");

    Widget w;
    w.show();

    return a.exec();
}
